/* 统一搜索栏样式 - 美化版 */
.search-container {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 280px;
}

.input-group {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-base);
  overflow: hidden;
}

.input {
  min-height: 40px;
  width: 100%;
  padding: 0 1rem;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  border: 1px solid var(--border-base);
  border-right: none;
  border-radius: var(--border-radius-base) 0 0 var(--border-radius-base);
  background-color: var(--bg-white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button--submit {
  min-height: 40px;
  width: 80px;
  padding: 0;
  border: none;
  border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0;
  background-color: var(--primary-color);
  color: white;
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.5px;
}

.button--submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.button--submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.input:focus,
.input:focus-visible {
  border-color: var(--border-focus);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .input-group {
    max-width: 100%;
  }
  
  .input {
    min-height: 44px;
  }
  
  .button--submit {
    min-height: 44px;
    width: 70px;
    font-size: var(--font-size-sm);
  }
}